
Vue.config.keyCodes.aaa = 13
const app = new Vue({
	data: {
		msg: "v-on:event === @event",
		counter: 1
	},
	methods: {
		add(event) {
			console.log(event)
			//
			this.counter += 10
			//
		},
		add1(x, event) {
			console.log(x)
			console.log(event)
			this.counter += 2
		},
		handleMenu(event) {
			// event.preventDefault()
			console.log(event)
		},
		handleClick(str, event) {
			if(event) {
				// event.stopPropagation()
			}
			console.log(str)
		},
		onKey(event) {
			// console.log(event.code)
			// if(event.code === "Enter") {
			// if(event.keyCode === 13) {
				console.log(this.msg)	
			// }
			
		}
	}
}).$mount("#app")


